/*
Library for Arduino AdaFruit MotorShield
Author: Jeff Szcinski II (jeffski)
*/
#ifndef MotorShield_h
#define MotorShield_h

#include <Wire.h>
#include <Adafruit_MotorShield.h>

class MotorShield
{
  public:
	MotorShield(int m1, int m2, int m3, int m4);
   void moveForward(int motorSpeed);
	void moveBackward(int motorSpeed);
	void stop();
	void turnRight(int motorSpeed);
	void turnLeft(int motorSpeed);
	void set_speed(int motorSpeed);
	void setDebugOn();
	void setDebugOff();
	void begin();
	void testMotor(int mTest);
   void veerRight(int motorSpeed);
   void veerLeft(int motorSpeed);
   void set_speed_spin1(int motorSpeed);
   void set_speed_spin2(int motorSpeed);
   void turnRight_spin(int motorSpeed);
   void turnLeft_spin(int motorSpeed);
  private:
	Adafruit_MotorShield AFMS;
	Adafruit_DCMotor *myMotor1;
	Adafruit_DCMotor *myMotor2;
	Adafruit_DCMotor *myMotor3;
	Adafruit_DCMotor *myMotor4;
	bool debug;
};

#endif